<?php
$default_url="mms://vipnrj.yacast.net/nrj_tvparis";
$stream_url=$_GET['file'];
if (trim($stream_url)=="") $stream_url=$default_url;

?>
<HTML>
<head>
<title>VoD@Home Streaming Service</title>
<link rel="StyleSheet" type="text/css" href="style.css"/>
<link rel="StyleSheet" type="text/css" href="menu/interface_2.0/style.css">
</head>
<BODY bgcolor"#000000">
<object 	id="mediaPlayer" 
		classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" 
		codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" 
		standby="Loading Microsoft Windows Media Player components..." 
		type="application/x-oleobject" 
		height="100%" 
		width="100%">
        <param name="fileName" value="<?= $stream_url ?>">
	<param name="BufferingTime" value="3">
	<param name="animationatStart" value="true">
	<param name="transparentatStart" value="true">
	<param name="ShowStatusBar" value="1">
	<param name="autoStart" value="true">
	<param name="showControls" value="true">
	<param name="EnableContextMenu" value="false">
	<param name="loop" value="true">
	<embed 	type="application/x-mplayer2" 
			pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" 
			id="mediaPlayer" 
			name="mediaPlayer" 
			displaysize="4" 
			autosize="-1" 
			bgcolor="darkblue" 
			showcontrols="true" 
			EnableContextMenu="1" 
			showtracker="-1" 
			showdisplay="0" 
			showstatusbar="1" 
			videoborder3d="-1" 
			src="<?= $stream_url ?>" 
			autostart="true" 
			designtimesp="5311" 
			loop="true" 
			height="100%" 
			width="100%">
	</embed>
</object>
</BODY>
</HTML>